#ifndef CALL_H
#define CALL_H

#include "instruction.h"
#include "retour.h"
#include "types.h"

class Call : public Instruction {
public:
	string qui;
	list<Types> params;
	list<Call*> paramsFuncs;

	Call();
	Retour evaluer(map<string, Var_T> *loc, map<string, Var_T> *glob);
	void recupererVariable(string nom, Var_T *param, map<string, Var_T> *contexte);
};

Instruction* creerCall(list<token> src);

#endif